home *** CD-ROM | disk | FTP | other *** search
/ Micrografx ABC Graphics Suite / Micrografx ABC Graphics Suite - Disc 2.iso / abc.z / OLE_VVW.H < prev    next >
C/C++ Source or Header  |  1995-09-15  |  1KB  |  44 lines

  1. // ole_vvw.h : interface of the COle_vbxView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. class COle_vbxView : public CView
  6. {
  7. protected: // create from serialization only
  8.     COle_vbxView();
  9.     DECLARE_DYNCREATE(COle_vbxView)
  10.  
  11. // Attributes
  12. public:
  13.     COle_vbxDoc* GetDocument();
  14.  
  15. // Operations
  16. public:
  17.  
  18. // Implementation
  19. public:
  20.     virtual ~COle_vbxView();
  21.     virtual void OnDraw(CDC* pDC);  // overridden to draw this view
  22. #ifdef _DEBUG
  23.     virtual void AssertValid() const;
  24.     virtual void Dump(CDumpContext& dc) const;
  25. #endif
  26.  
  27. protected:
  28.  
  29. // Generated message map functions
  30. protected:
  31.     //{{AFX_MSG(COle_vbxView)
  32.         // NOTE - the ClassWizard will add and remove member functions here.
  33.         //    DO NOT EDIT what you see in these blocks of generated code !
  34.     //}}AFX_MSG
  35.     DECLARE_MESSAGE_MAP()
  36. };
  37.  
  38. #ifndef _DEBUG  // debug version in ole_vvw.cpp
  39. inline COle_vbxDoc* COle_vbxView::GetDocument()
  40.    { return (COle_vbxDoc*)m_pDocument; }
  41. #endif
  42.  
  43. /////////////////////////////////////////////////////////////////////////////
  44.